package com.raventech.web;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.raventech.user.motan.HelloService;

public class test {
	public static void main(String[] args) {
	    ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:motan-client.xml");
	    HelloService fooService = (HelloService) applicationContext.getBean("helloService");
	    System.out.println(fooService.hello("world"));
	  }
}
